home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d1 / amaxx331.arc / SAMPLE.DAT < prev   
Text File  |  1990-10-22  |  8KB  |  303 lines

  1. ;                        EXAMPLE DAT FILE STRUCTURE
  2. ; ────────────────────────────────────────────────────────────────────────────
  3. ; REVISED 02/10/88
  4. ; This is a real dat file.  Rename to AUTOMAXX.DAT before use.
  5.  
  6.  
  7.  
  8.  
  9. ;                      *****  G E N E R A L  *****
  10.  
  11. ; A semicolon is used to precede a comment line.
  12. ;   Comments will not be processed by AUTOMAXX but
  13. ;   can be used to document a dat file or to comment out
  14. ;   command lines when needed.
  15. ; Blank lines are allowed.
  16. ; Indenting with spaces or tabs is allowed to improve readability.
  17. ; Command lines are processed by AUTOMAXX.  A command line begins with
  18. ;   one of the leading characters '%*+?>$&'.  You may precede a leading
  19. ;   character with spaces or tabs to improve readability.
  20.  
  21.  
  22.  
  23. ;              *****  LEADING CHARACTERS DEFINITIONS  *****
  24.  
  25. ;    character      definition
  26. ;    ─────────      ──────────────────────────────────────────
  27. ;         ;         precedes a comment
  28. ;         %         precedes menu title
  29. ;         *         precedes an option title
  30. ;         +         precedes dos command
  31. ;         ?         precedes password
  32. ;         >         jump to menu title which follows
  33. ;         $         load another dat file
  34. ;         &         get parameter
  35. ;         @         timed execution
  36. ;         ^         ctrl-key macro definition
  37. ;         !         macro defined in menu
  38.  
  39. ; Note:  Leading characters may only be preceded by spaces or tabs
  40.  
  41.  
  42. ; ============================  Keyboard macros  =============================
  43.  
  44.    ^A ""
  45.    ^B "xGWBASIC \%\|"
  46.    ^C ""
  47.    ^D "spddg"
  48.    ^E "speasnag"
  49.    ^F ""
  50.    ^G ""
  51.    ^H ""
  52.    ^I ""
  53.    ^J ""
  54.    ^K ""
  55.    ^L "xLIST \%\|\["
  56.    ^M ""
  57.    ^N "spnaseag"
  58.    ^O ""
  59.    ^P ""
  60.    ^Q "xQ \%\|\["
  61.    ^R ""
  62.    ^S ""
  63.    ^T ""
  64.    ^U ""
  65.    ^V ""
  66.    ^W "xWP \%\|\["
  67.    ^X "xpkxarc \%\|"
  68.    ^Y ""
  69.    ^Z "xPKUNZIP \%\|"
  70.  
  71.  
  72.  
  73. ; ============================== Timed Executables ===========================
  74. ; Example -- The system display a directory at 9:45 am and 11:30 pm.
  75. ;            Remove semicolons to activate.
  76.  
  77.  
  78. ; Timed Events
  79. ;    @09:45 23:30
  80. ;    +dir
  81. ;    +menu
  82.  
  83.  
  84.  
  85. ; ================================== Menus ===================================
  86.  
  87.  
  88.  
  89. ;                   *****   SAMPLE MENUs  *****
  90.  
  91. ; This first menu is an example of calling menus within a menu
  92. ;   using the '>' character
  93.  
  94. %MENU of MENUs
  95.      *APPLICATION PROGRAMS
  96.           ; next line calls the MENU titled 'APPLICATION PROGRAM MENU'
  97.           ;   using the '>' character
  98.           >APPLICATION PROGRAM MENU
  99.      *COMMUNICATION
  100.           ; call 'COMMUNICATIONS PROGRAMS MENU'
  101.           >COMMUNICATION PROGRAMS MENU
  102.      *DOS COMMANDS
  103.           >BASIC DOS COMMANDS MENU
  104.      *ADVANCED UTILITIES
  105.           >ADVANCED UTILITIES MENU
  106.      *HARD DISK BACKUP
  107.           >SPECIAL HARD DISK BACKUP MENU
  108.      *MISCELLANEOUS
  109.           >MISCELLANEOUS MENU
  110.      *Disk Operating System
  111.           ; this option quits AUTOMAXX and returns you to DOS
  112.           +echo off
  113.           +echo ┌─────────────────────┐
  114.           +echo │▄▄▄▄▄█ D  O  S █▄▄▄▄▄│
  115.           +echo ├─────────────────────┤
  116.           +echo │   Enter MENU to     │
  117.           +echo │ return to AUTOMAXX  │
  118.           +echo └─────────────────────┘
  119.           +echo on
  120.  
  121.  
  122. ; Note the indenting for readability
  123.  
  124. %APPLICATION PROGRAM MENU
  125.      *Main Menu
  126.           ; return to first menu
  127.           >MENU of MENUs
  128.      *WordPerfect
  129.           ; the next command line uses the '?' to prompt the user to enter
  130.           ;   a password which must be banana yellow to continue processing
  131.           ;   the next lines for the Wordperfect option
  132.           ?banana yellow
  133.           +c:
  134.           +cd \wp
  135.           +wp
  136.           +cd \
  137.           +menu
  138.      *Lotus 123
  139.           +c:
  140.           +cd \lotus
  141.           +lotus
  142.           +cd \
  143.           +menu
  144.      *File Manager
  145.           ; this macro brings up the file manager
  146.         ; and sorts newest files first
  147.           !fspddg
  148.      *Wordstar
  149.           ; this macro calls wordstar within AUTOMAXX
  150.           ;    "x"       invoke the dos interface
  151.           ;    "ws\|"    type WS then hit <return>
  152.           ; the macro is:
  153.           !xws\|
  154.      *Text Editor
  155.           ; use of '&' for parameter input is demonstated here:
  156.           +c:
  157.           +cd \text
  158.           &Name of file to edit?
  159.           +ed &1
  160.           +cd \
  161.           +menu
  162.      *Dbase
  163.           &Enter dbase program to be run>
  164.           +cd \dbase
  165.           +dbase &1
  166.           +menu
  167.  
  168. ; next is an example of the '$' command.  It is used to load another dat file,
  169. ; in this case one named a:\master.net.  The dat file commands are loaded here
  170. ; then the AUTOMAXX.DAT continues being loaded.  This can be used for networks
  171. ; when a common set of instructions must be put in each users automaxx.dat
  172. ; file. It has been commented out here
  173.  
  174. ;    $c:\master.net
  175.  
  176. %COMMUNICATION PROGRAMS MENU
  177.      *Main Menu
  178.           ; return to first menu
  179.           >MENU of MENUs
  180.      *Mirror
  181.           +cd \mirror
  182.           +mirror
  183.           +menu
  184.      *Telix
  185.           +cd \telix
  186.           +telix
  187.           +menu
  188.      *Crosstalk
  189.           +c:
  190.           +cd \bbs
  191.           +xtalk
  192.           +cd \
  193.           +menu
  194.  
  195. %BASIC DOS COMMANDS MENU
  196.      *Main Menu
  197.           ; return to first menu
  198.           >MENU of MENUs
  199.      *Check diskette:
  200.           +c:
  201.           ; the first use of '&' generates input which will be
  202.           ; substituted wherever &1 occurs in the command
  203.           ; lines that follow in this option
  204.           &Enter drive letter>
  205.           ; now get second parameter &2
  206.           &enter optional parameters (/f/v)
  207.           +chkdsk &1: &2
  208.           +pause
  209.           +menu
  210.      *Normal diskette duplication
  211.           &enter source drive letter>
  212.           &enter target drive letter>
  213.           +pause
  214.           +copy &1:*.*  &2:
  215.           +menu
  216.      *Format floppy diskette
  217.           +c:
  218.           &Enter drive letter>
  219.           &enter optional parameters (/s/1/8/v/b/4) >
  220.           ; '&' can be used for prompts
  221.           +echo place disk in drive &1:
  222.           +pause
  223.           +format &1:&2
  224.           +menu
  225.      *Disk Operating System
  226.           +echo off
  227.           +echo ┌─────────────────────┐
  228.           +echo │▄▄▄▄▄█ D  O  S █▄▄▄▄▄│
  229.           +echo ├─────────────────────┤
  230.           +echo │   Enter MENU to     │
  231.           +echo │ return to AUTOMAXX  │
  232.           +echo └─────────────────────┘
  233.           +echo on
  234.  
  235. %ADVANCED UTILITIES MENU
  236.      *Main Menu
  237.           ; return to first menu
  238.           >MENU of MENUs
  239.      *Norton SI
  240.           +cd \norton
  241.           +si
  242.           +pause
  243.           +menu
  244.      *Norton Utility
  245.           +cd \norton
  246.           +nu
  247.           +menu
  248.      *Optimize Disk
  249.           +cd \norton
  250.           &enter drive letter>
  251.           +sd &1:
  252.           +pause
  253.           +menu
  254.      *Test Disk
  255.           +cd \norton
  256.           &enter drive letter>
  257.           +dt &1: /d
  258.           +pause
  259.           +menu
  260.      *Text search
  261.           +cd \norton
  262.           +ts
  263.           +pause
  264.           +menu
  265.  
  266. %SPECIAL HARD DISK BACKUP MENU
  267.      *Main Menu
  268.           ; return to first menu
  269.           >MENU of MENUs
  270.      *Total Backup of Drive C:
  271.           +c:
  272.           +backup c:\ a:/s
  273.           +menu
  274.      *Update backup for files changed on Drive C:
  275.           +echo off
  276.           +echo Warning:  This procedure overwrites files on Disk A.
  277.           +echo           Enter Ctl-C to stop now.  Otherwise,
  278.           +pause          put a formatted disk in Drive A.
  279.           +echo on
  280.           +backup c:\ a:/s/m
  281.           +menu
  282.  
  283. %MISCELLANEOUS MENU
  284.      *Main Menu
  285.           ; return to first menu
  286.           >MENU of MENUs
  287.      *Samples Programs
  288.           +c:
  289.           +cd \games
  290.           +basica samples
  291.           +cd \
  292.           +menu
  293.      *COMPAQ Demo
  294.           +c:
  295.           +cd \games
  296.           +basica demo
  297.           +cd \
  298.           +menu
  299.  
  300. ; The end file symbol '#' is purely optional and may be
  301. ;   omitted if desired.
  302. #End of Menu File
  303.